import React, { Component } from 'react'
import { Switch, Route } from 'react-router';
import ModifyUserInfoList from './ModifyUserInfoList';
import SpecificModifyUserInfo from './SpecificModifyUserInfo';

export default class ModifyUserInfo extends Component {
    render() {
        return (
            <Switch>
                <Route path='/siteManage/modifyUser' exact={true} component={ModifyUserInfoList} />
                <Route path='/siteManage/modifyUser/:id' component={SpecificModifyUserInfo} />
            </Switch>
        )
    }
}
